package 蓝桥真题;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class 字符计数 {
       static BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
       final static int N=110;
       static char str[]=null;
       
       public static void main(String[] args) throws IOException {
		      str=br.readLine().toCharArray();
		      char[]y={'a','e','i','o','u'};
		      int resy=0,resf=0;
		      for(int i=0;i<str.length;i++){
		    	  boolean f=true;
		    	  for(int j=0;j<5;j++)
		    		  if(str[i]==y[j]){
		    			  f=false;
		    			  resy++;
		    			  break;
		    		  }
		    	  if(f)resf++;
		      }
		      System.out.println(resy);
		      System.out.println(resf);
	}
}
